package com.UnionPayCenter.operation.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Getter
@Setter
@ApiModel
public class ActivityDTO {

    /**
     * 活动id，自增
     */
    @ApiModelProperty("活动Id")
    private Integer activityId;

    /**
     * 活动类型Id
     */
    @ApiModelProperty(value = "活动类型Id", required = true)
    private Integer activityTypeId;

    /**
     * 优惠类型: 1--优惠券, 2--现金
     */
    @ApiModelProperty(value = "优惠类型", required = true)
    private Integer rewardsType;

    /**
     * 活动名称
     */
    @ApiModelProperty(value = "活动名称", required = true)
    private String activityName;

    /**
     * 店铺Id
     */
    @ApiModelProperty(value = "店铺Id", required = true)
    private Integer shopId;

    /**
     * 条件：起
     */
    @ApiModelProperty("起始条件")
    private Integer thresholdStart;

    /**
     * 条件: 止
     */
    @ApiModelProperty("终止条件")
    private Integer thresholdEnd;

    /**
     * 活动时间：起
     */
    @ApiModelProperty("活动开始时间")
    private Date timeStart;

    /**
     * 活动时间：止
     */
    @ApiModelProperty("活动结束时间")
    private Date timeEnd;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty(value = "状态", notes = "0--停用，1--在用")
    private Integer status;

    @ApiModelProperty(value = "是否次日生效", notes = "0--否,1--是")
    private Integer effectiveNextDay;

    @ApiModelProperty("活动奖励配置")
    List<OperationRewardsDTO> operationRewardsDTOs;

}
